package com.xc.pojo;

import com.fasterxml.jackson.annotation.JsonTypeId;
import lombok.Data;
import org.springframework.data.annotation.Id;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java.util.Date;

/**
 * 富文本实体
 */
@Data
public class SysContent {

    private String content;

    private String updateBy;

    private Date updateDate;

    private String createBy;

    private Date createDate;

    public SysContent(){};

    public SysContent(String content, String updateBy, Date updateDate, String createBy, Date createDate) {
        this.content = content;
        this.updateBy = updateBy;
        this.updateDate = updateDate;
        this.createBy = createBy;
        this.createDate = createDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
